<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title><?= $setting['store']['values']['name'] ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="assets/common/i/favicon.ico"/>
    <meta name="apple-mobile-web-app-title" content="<?= $setting['store']['values']['name'] ?>"/>
    <link rel="stylesheet" href="assets/common/css/amazeui.min.css"/>
    <link rel="stylesheet" href="assets/store/css/app.css?v=<?= $version ?>"/>
    <link rel="stylesheet" href="assets/store/css/bootstrap.min.css?v=<?= $version ?>"/>
    <link rel="stylesheet" href="assets/store/css/common.css?v=<?= $version ?>"/>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2462106_vsb4mwm4lmg.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2462198_dkndzmy523.css">
    <script src="assets/common/js/jquery.min.js"></script>
<script src="assets/common/plugins/layer/layer.js"></script>
<script src="assets/common/js/jquery.form.min.js"></script>
<script src="assets/common/js/amazeui.min.js"></script>
<script src="assets/common/js/webuploader.html5only.js"></script>
<script src="assets/common/js/art-template.js"></script>
<script src="assets/store/js/app.js?v={php echo time();}"></script>
<script src="assets/store/js/file.library.js?v={php echo time();}"></script>
    <script src="assets/common/js/require.js?time={php echo time();}"></script>
    <script src="assets/common/js/app.js?time={php echo time();}"></script>
    <script src="//at.alicdn.com/t/font_2462106_vsb4mwm4lmg.js"></script>
    <script src="//at.alicdn.com/t/font_783249_e5yrsf08rap.js"></script>
    <script>
        BASE_URL = '{$base_url}';
        STORE_URL = '{$store_url}';
        var require = window.top.require;
    </script>
     {template 'common/tpl/file_image'}

</head>

<body data-type="">
<iframe style="display: none;" src="assets/common/js/require.js?time={php echo time();}"></iframe>
<div class="am-g tpl-g">
    <!-- 头部 -->
    <header class="tpl-header">
        <!-- 右侧内容 -->
        <div class="tpl-header-fluid">
            <!-- 侧边切换 -->
            <div class="am-fl tpl-header-button switch-button">
                <i class="iconfont icon-menufold"></i>
            </div>
            <!-- 刷新页面 -->
            <div class="am-fl tpl-header-button refresh-button">
                <i class="iconfont icon-refresh"></i>
            </div>
            <!-- 其它功能-->
            <div class="am-fr tpl-header-navbar">
                <ul>
                    <!-- 欢迎语 -->
                    <li class="am-text-sm tpl-header-navbar-welcome">
                        <a href="<?= url('store.user/renew') ?>">欢迎你，<span>{$_W['admin']['user']['user_name']}</span>
                        </a>
                    </li>
                    <!-- 退出 -->
                    <li class="am-text-sm">
                        <a href="<?= url('passport/logout') ?>">
                            <i class="iconfont icon-tuichu"></i> 退出
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </header>
    <!-- 侧边导航栏 -->
    <div class="left-sidebar dis-flex">
        <!-- 一级菜单 -->
        <ul class="sidebar-nav">
            <li class="sidebar-nav-heading" style="text-align:center;">{$_W['modules']['name']}</li>
            <li class="sidebar-nav-link" style="margin: 0px;padding: 0px;" ><a class="sidebar-nav-link" style="height: 12px;line-height: 12px;padding: 0px;text-align: center;" href="{php echo url('wxapp/modulelist',array('uniacid'=>$_W['uniacid']))}"> <img class="iconfont sidebar-nav-link-logo" src="assets/store/img/qiehuan.png" alt="切换"></a></li>
            {loop $_W['menus'] $key $item}
                <li class="sidebar-nav-link">
                    <a href="{php echo $this->createWebUrl($item['do']['do']);}"  class="{if !empty($item['active'])} 'active' {/if}">
                         <i class="iconfont sidebar-nav-link-logo icon-setting"></i>
                        {$item['name']}
                    </a>
                </li>
           {/loop}
        </ul>
        <!-- 子级菜单-->

    </div>

    <!-- 内容区域 start -->
    <div class="tpl-content-wrapper <?= empty($second) ? 'no-sidebar-second' : '' ?>" style="background: #fff;">

